Revert "Fixed the filters HTML markup in Model\Relations"

This reverts commit 69a85ab21dc300148860aa7d18261cb96e3442e0.