Tables: Removed HTML tags before doing any filtering for formatted number

Fixes #5723
Merge pull request #5747 from pjackson28/fixformattednumfilter

Tables: Removed HTML tags before doing any filtering for formatted number