Multiple AND/OR cases within an if statement