Fixed minor bugs in validation in an attempt to resolve Safari display errors in an iPhone 4 - it didn't fix the phone issue