Ensure operation type received matches datatype for bucket