Bug in keys as integers