Fixed category search bug that prevent restoring of default
category upon changing search text