make filter error messages more helpful