Fixed server error when trying to pop from a missing key