Fixing WHERE clause in mistyped doctrine in foolauth