When reading empty values a notice error would be triggered. Slicing the first char off and comparing that solves this. Fixes #2537