Fixed #10414 -- Make select_related fail on invalid field names.