Fixed bug with empty strings being set to key parents and failing.