Issue 1: Fix filtering in get_objs_for_user

This PR will fix #1.