Updated command.
Fixed error with patient records not being found correctly.