Add home page filtering test
Fix home page filtering by layout bug