Add helpful error message if object is nil in tags