filter foreign_key is_present is_blank with null value