issue 904 race condition in plural directives

logic from realmassive #798