Fixes ever increasing spaces due to faulty reparsing

Signed-off-by: Ian Lake <ian.hannibal.lake@gmail.com>