Fixed index error in availability render call