Fixed problem with the update of cmi.entry adding conditions in the first php block