Fixing a bug in declaration selection entry!

Signed-off-by: gvero <tihomir.gvero@gmail.com>