Inbox's trash_messages_where API call now uses named params, defaults to not
returning deleted message IDs.
Add a bit more input validation before passing on to DBIC