Refactor places index. Move some filtering logic to model