This is consistent with all other methods: we clear the cache after the actual change, not before it. Since the new version of -utils, we're now catching redis exceptions on delete, so this change has little effect on behaviour.
get_notifications_for_service