fixed the issue#79 on KWS not checking service constraints