Fixed bug for checkbox population to allow for multiple values to be passed in. Will also work if checkbox values are not passed as an array.