FB 4877: Second parameter is nullable and has to be checked before accessed to avoid NPE