SSP-2511 fixes an NXN join when searching on MapStatus
SSP-2448 fixed an NXN when searching on PlanStatus