Fix for comparison logic
Another fix for comparison logic
Updated manual