Added more conditional checks for edge cases for read/write capacities