Fixed issue where entity collection modifcations weren't being pushed to the database