Fixed bugs with multiple different collections, fixed bug with removed() and 'fields is not defined'