Refactor home page filtering in pages_controller

Yeah, I talked with some of the teams and we had the same opinion yesterday. Unfortunately, this solution needs to change the Gemfile, and this is not the intended, since we are expecting updating our own version of the gem. That said, we will continue like you said, =D