Fixed an OR operator that should have been an AND