Bug fix #118: Change the logic about compare patient info while doing self check-in