Fixed the subresource calculation when editing existed bookings.
Merge pull request #81 from popcm/release-1.1

Fixed the subresource calculation when editing existed bookings.