A quick solution is to pass as a property in default-master and do integer validation further down in blank-master.
However, is there a coding convention that I am missing for passing queries to blank-master with better exception handling ?
The problem that I have had was rp processor displaying the error message within the master template which caught the same validation error thus resulting in a neverending error loop.