Raise error when accessing non selected fields.

[ #1908 ]