Fixed a failure in the context processors tests when running in reverse on MySQL due to an extra query after refs #27683.