Fix for missing search index during migrations

Closes #1085

@tgoyne