Fixed error with approved checkbox