Fixed an issue with flag value parsing and added a proper inspect for it