add error checking for form filtering with auto-loaded cases