Added in missing prepare statement parameters