Bug : buggy and fixed methods in same session

Inserted a condition to avoid that the buggy and fixed version of the
same method be present in the same worker session.