Removed faulty condition

fail when ref is SuchAs in a ConstantDeclaration