Fixed bug found in the where_clause method