fixes error on empty collection
Version bump to 0.4.1