#620 - fixing template error on non existing active visti