Fixed error in Where condition handling in sql builder
again.

probably losing it to user error.