Fix mobile loan comparison bugs

As caught by eagle eye in training @stephanieosan
I'm not crazy about this if/else block, but my brain is not coming up with a simpler solution.