Sticky Piston Bug


I recently made an automatic melon farm and I have noticed some bugs related to sticky pistons. For my design I have a sticky piston that pushes glass to break a melon. Sometime when the sticky piston pushes it does not take the glass back with it. I have some screenshots below



If the sticky piston receives a 1 tick pulse it will not retract the block, this is likely the issue.