Fix undefined index help in search profiles

Same code as in I17cc79c

Change-Id: Idcb59c6b0a937d7ed7c030b809a6d41ab68f9d4d