Fix bug in "-r"

Record tag associations went wrong in some situations. Fixed.
Rename function VACUUM-MAYBE to VACUUM-CHECK