Solution search bug fix

This migration fixes the text search vector triggers and functions on
the database so that problems with solutions can be searched.