Fixed bug that was causing cache_response to return without storing response into cache always.