Modified "==" to "=" in WhereClauses, make the null integers be -1 and detect the null integers in WhereClauses.

Make the null integers to be -1 in populateCriteriaFromRequest,and detect if the integer value is null in WhereClauses.