The indenting change makes my fix hard to see. But this is the relevant change, just adding :fulltext to this when clause.