Removed dependence in Stylesheet repository on Entity Service.
Fix sql errors in prev change.