Fix two bugs reported by Ashwini Sharma.
2 files changed