Splitting up conditions

Splitting up the checks, improves performance