Fix: Make the stupid sprig_record dependency parsing more robust