Fixed conditional bug and amended code comments