now clearing session when you view the index page. previous it was keeping it and messing up the image filter count.