Fix Issue 12432 - Implement better diagnostics for argument count mismatch in range and opApply contexts.