Template cannot be deleted if there is page with this template