Fixed #10414 -- Made select_related() fail on invalid field names.