Fix bug with empty conditions