extend alarm search method (added where and extends options)