Bug fix -- patient search by accession number blew up

https://www.pivotaltracker.com/story/show/69222028
Merge pull request #129 from pfschwartz/develop

Bug fix -- patient search by accession number blew up