Add missing if guard

git-svn-id: https://subversion.ews.illinois.edu/svn/sp14-ece391/_projects/group14/trunk@14593 1cec0ab5-dbbe-4d55-bb2a-e14ca091d7d0