Report Invalid object name 'test'

I have a report that grabs data from the database and sends it out every morning but on occasions the report gives out an error ‘Invalid object name test’ I seem to track it down to a named query being the issue but all that I do to remedy the situation is open it, save then publish the named query.