Add a bit more input validation before passing on to DBIC