Doctrine MongoDB ODM

array_slice fails on ReferenceMany and EmbeddedMany fields