fixing validation for constant multiplication and division
fixing constant validation for integer division