null check for attendances in Constructor