Check undefined/null data

/to @ritch 

This fixes an error for GET /weapons?filter[where][effectiveRange][gt]=900&filter[limit]=3 as some records don't have effectiveRange