Tested for greater than or equal to storage limit

Added two conditionals to test for greater than or equal to storage
limit.