Ignore nil and empty search arguments