Fixes show all/show less button on address list

The filter was not working so I had to create a function and call it from the controller