Fixed bug in mobileresults template

Fixed an error in if statement.