logic for Railo NULL support