Fix compilation errors and various bugs in sel_del_entry()
Fix compilation errors and various bugs in sel_del_entry()

Commit fixes various compilation errors and bugs, eg. '=' instead of '==', in
sel_del_entry() caused by writing code without compiling and testing it out.

zstyblik/fake-ipmistack