AbstractPatch: added the ability to use SQL's NULL in various search criterias