Added static assert to prevent automatic rivial->null conversion to happen in where/having
Implemented parameter index determination