Fix #2970
Fixed according to comment.
Removed tabs.
Removed tab on empty line too.
Merge pull request #2982 from aanbar/migration-fix

Fix #2970