Fixed bug with Collection type data.