fixed seraaches for rank over 4 that went wird cuz sql only required longitude to be not null