content views - fix couple of issues with migrations

Refer to commits for details.