fixed bug in getWhereConditions
version 1.2.1