Fix a few mistakes

(Those prefixes are needed in cast BTW. matches-double and
matches-duration will return true for the same input a large majority of
the time)