Fix access reevaluation when editing pending node

The problem was only affecting pending nodes when trying to register or
unregister using the bulk actions menu.