Fix EZP-20957: Removed misplaced semicolon which breaks the flow

Small CS fix : replaced 'and' with '&&'