By rblanker: Fixed; No related assets generated SQL error when counting viewed value.
Version 3.5.1-dev build 2086.