Fixed issue with reporting (or lack thereof) of $ref issues