There are already some issues in the queue list (#831232: Problem working with role delegation module for non admin/uid 1, #1212712: Compatibility problem with role_delegation module (role_expire 6.x-1.5)), I'm creating a 7.x one here.
Basically, the problem happens only when using a non-admin user, which is indeed when Role Delegation is used.
It works properly on both admin/non-admin users, and doesn't interfere when Role Delegation is not used.
I tested it, and should apply cleanly to current git.
Thanks a lot for this patch, works as expected!
Drupal is a registered trademark of Dries Buytaert.