test for issue where inlineCount is null when query results sorted by navigation property