If the server crashes instead of restarts then it can happen. Though it does save the world at frequent states, which is why you lose minutes not hours, there is no way to prevent it from rolling back before the crash occurred.