content views - fix few bugs in view publish/refresh/promote

Found a few minor bugs when testing composite and non-composite
views.