[DROOLS-376] avoid NPE on JPAKnowledgeService.loadStatefulKnowledgeSession() when Collection is modified
(cherry picked from commit 0c6f1ce1f51b40c791fb1ccd952ffff3db0102f5)