Fixed bug in storeValidResponse