Attempted fix for planForRole view