Inverting check

Was obviously confused by !empty ;-)