[1296] Fixes for spatial search where it broke if q was not in search params (even though it wasnt allowed a value