Fix for bug with the filter problem code index