Fix missing or in if statement