Fix a bug with incorrect logic in pre-init GPS delay (#523)