Remove superfluous if conditional