Can't get delete by query to actually delete