Fixed bug in Keystone processing.