fixed indentation issue with if statement

Found from http://refactorcop.r14.railsrumble.com/