Multi-array usage problem - Bug or me?