Fix: minor bug fixed when searching for semantic literals with -p or -s