Fixed bug in collection fetch