Removed superflous if, made while readable