Fix error - logical or should be in brackets