Corrected a bugfix that made multiple wheres append without AND operator.