Issue #521838 by mikeytown2: Speedup/Clean up drupal_get_schema_versions()