fixed problem with filter when linking directly to views