Bug fix. There was a bug on the WHERE clause.