Are you sure that the behaviour didn't change?  Maybe in some versions this is an error, and newer versions it is not?  If so, then some special-case version logic will need to be added (though it is annoying) :S