Fixed handling of missing LOC counts