Fix edge-case error in can_edit_rate().
Fix edge-case error in can_edit_rate().

cyberitsolutions/alloc,alexlance/alloc,cyberitsolutions/alloc,cyberitsolutions/alloc,cyberitsolutions/alloc,alexlance/alloc,alexlance/alloc,cyberitsolutions/alloc,alexlance/alloc,alexlance/alloc