Fix / improve error message for comparisons
Merge pull request #2081 from taldcroft/time-operand-err

Fix / improve error message for comparisons