Fixed problem where it was not possible to change attendancestate of an inviation

Signed-off-by: Michel <info@1st-setup.nl>