Fixing a bug related to locking the view or not

The user's scope was being incorrectly determined, since we weren't
intersecting view_form groups with the user's own groups on this line.