Added code that adds randomisation for candidates in post-editing.