Removed and extra 'if' statement

Change-Id: I484363ce9aac9dfdcfd10de09ddaad9e4878e653