$matchedtracks() was never supposed to accept arguments. Due to a mistake in the original definition however it does accept an arbitrary number of arguments. For backward compatibility this was kept, see PICARD-637.
With Picard 3 we can finally clean this up and fix the function signature.