Bug fix in Core.Types.Collection

Signed-off-by: Piotr Carewicz <piotr.carewicz@googlemail.com>