BUG: disallow mixed dtype operations in eval/query

closes #5198