fix reverse condition to prevent call of invalid method (BNC#787808)