Stock count range filter fix