get_alloc fix

Fixed error when new allocation do not appear between two other