Make throwing more helpful exception possible when trying to include a property that is not allowed in query.