fixed null values was filtered and broke query.
this cause find('list') failed with recent cake core.