Fixed minor bug regarding subtract operation