don't include expired themes in theme lock count (bug 858110)