Fixing bug with SQLQuery where using string '0'.