Changed query to resolve if user is a manager for process