Fixed patient search issues w/ Firefox

https://www.pivotaltracker.com/story/show/59716146