Reduce database round trips in registry parsing code
Added hasData method to Case to reduce DB trips