fixes #1296 that calls out changing .parent to .closest('a') in Clearing to allow extra markup inside the lists