Fix for Add Index migration