Fixed a bug in run_sql_cached that returned cached query when affected_tables was changed within a second.
Fixed a bug in run_sql_cached that returned cached query when affected_tables was changed within a second.

tiborsimko/invenio,inveniosoftware/invenio,inveniosoftware/invenio,tiborsimko/invenio