added the ability to tell the rel what mapper to use when running a subquery
fix to clearWhere() to also remove the parameter columns