Fixing issues with comparison functions for QString and QByteArray