Fixing PHP notice on term_updated_messages