Restore query message is incorrect