Added Result Checking to the Get GameID

Removed DB error by looking at the db results.