Fixed bug if no coordinates were provided. Needed value to put in session data.