Fixed issue with some paritions having data after a null in their partition types