Fixed a small problem where "where" clauses wouldnt work