Handle nested post script arguments in the preprocessor

Fix for issue #4785