Fix embedded collection of custom FormType Error

Fix an error when trying to use embedded form collections.

Referenced issue: #442