Simplify condition of previous commit (5cdc73e)