Bug 20479: Use $flag instead of fetching patron