Fixed bug where checking for a '.' would always return true, small
formatting change.