Improved the error message for enumerated values

I ran into the situation where I set a collection with lots of models at once, but this failed due to value constraints on the model. To find out which model failed, I needed a hint. This might be useful for others too.