It is correct. The Computer checks its last state before the power got lost. So if mains is back, the Computer powers up shortly and than it stops because the Computer was powered off (shut down) before the mains power got lost. This behaviour is also needed because of the WOL functionality.
We make sure!