Change any to present

[#84378748]
Remove unused code mistake

[#84378748]
Add user_repository method

[#84378748]
Add not_ended filter to current memberships

[#84378748]
Fix logic in search_with_end_date

[#84378748]
Fix specs

[#84378748]