Changed keys and checkedin logic

firebase takes objects keyed by numbers and automatically changes them
to arrays but fills out the previous numbers with undefined