Avoid NPE, if initial collection of beans is empty