OPAL-2547 Errors in entity filter script are handled properly, both in REST services and UI