Changed SQL equality operator to single equals