BS-2835, fixed problem where trying to insert empty Portal themes, as they were not available