Fixed an error with fieldcollections