Fixed the activeClassName variable to deal with nil prefixes.