Forbids acces to the tool if (reference and hypothesis) or (reference and before and after) are not filled correctly in order to avoid errors