3185

Fixed regression #3185 where findElement calls containing apostrophes failed in some instances.