Fixed spec to use work_packages index