Added another GPS check which was left out during the merge of pervious code.