Bug fix re empty views added from factory call.