Fix splice bug in updatePrereqs()