Add support for orNotNull or nullable in QueryParameter