Single bool value to array conversion

Added single value to array conversion @ 544 & 571 to prevent error "array expected - bool sent"
when no checkbox is checked yet; thanks to nemo for the hint;