Implemented query structure "OrElse".