Adding entity to precondition failed