fixed param validation, added support for null value of the columnKey param