Fixed op validation when params are not required but undefined