Fix views with conditional classes, IDs